﻿using System;
using System.Linq;

namespace DLL.NetCore.FlushRobot.MS.Entity
{
    public  static class CDicDrugSegmentNames
    {
        public static string GetFieldStr(string[] fieldName)
        {
            string fieldStr = "";
            int i = 0;
            int Count = fieldName.Count();
            foreach (string str in fieldName)
            {
                if (i < Count - 1)
                {
                    fieldStr = fieldStr + str + ",";
                }
                else
                {
                    fieldStr = fieldStr + str;
                }
                i++;
            }
            return fieldStr;
        }
        public static string[] Pivas_Drugs_FieldNames = new string[]
        {
            "DRUG_CODE",
            "DRUG_NAME",          
            "SPECIFICATION",           
            "DOSE",
            "DOSE_UNIT",
            "MAFC_NAME",
            "PY_CODE",
            "APPROVAL_NUMBER"
        };

        public static string[] DrugDic_AllFiledNames = new string[]
        {
            "DRUG_CODE",
            "DRUG_NAME",
            "SPECIFICATION",
            "DOSE",
            "DOSE_UNIT",
            "MAFC_NAME",
            "PY_CODE",
            "SOLVENT_FLAG",
            "FLUSH_COST",
            "SOLUBILITY",//10

            "BOTTLE_SIZE",
            "BOTTLE_VOLUME",
            "POSITIVE_PRESSURE",
            "HAS_BUBBLE",
            "BOTTLE_TYPE",
            "NEEDLE_TYPE",
            "ADDITIONAL_PUMPING",
            "FLUSH_AIRE",
            "PUMPING_WAIT",
            "BOTTLE_THICKNESS",//20

            "FLUSH_VOLUME",
            "FLUSH_MODE",
            "FlushOffsetHeight",
            "FlushMethod",
            "RePullCount",
            "SolventVolume",
            "FlushInSpeed",
            "FlushOutSpeed",
            "FlushOutAirSpeed",
            "FlushOutSlowSpeed",//30
            "AdditionalOutAirVolume",
            "FlushOutWait",
            "SecondFlushCount",
            "SecondFlushInVolume",
            "SecondAdditionalOutVolume",
            "EnableSecondOutVolume",
            "SecondOutVolume",
            "SecondSolventVolume",
            "FlushAdditionOutVolume",
            "SecondFlushMethod",//40
            "SecondRePullCount",
            "SecondRePullOutVolume",
            "OpenJawMode",
            "FlushInAirSpeed" ,
            "SecondFlushInSpeed" ,
            "SecondFlushOutSpeed" ,
            "FirstFlushInSpeed" ,
            "SecondPumpbackVolume",
            "FLUSH_COST2" ,
            "FLUSH_COST3" ,//50
            "FLUSH_COST4" ,
            "SolventPushBackSpeed",
            "FlushOutVolume",
            "Viscosity",
            "FirstFlushStartSpeed",
            "FirstFlushStartSolventVolume",//56
            "DropCrumb",
            "PunctureSlowSpeed",
            "LastBottleAdditionOutVolume",
            "InsolubleLoopCount",//60
            "PumpBackLoopCount",
            "PumpBackWait",
            "SecondAdditionalOutWait",//63
            "PumpBackInAire",
            "ApprovalNumber"
        };

        //少了solventflag,needletype
        public static string[] DrugDic_PartFiledNames = new string[]
        {
            "DRUG_CODE",
            "DRUG_NAME",
            "SPECIFICATION",
            "DOSE",
            "DOSE_UNIT",
            "MAFC_NAME",
            "PY_CODE",//7

            "FLUSH_COST",
            "SOLUBILITY",//9
            "BOTTLE_SIZE",//10

            "BOTTLE_VOLUME",
            "POSITIVE_PRESSURE",
            "HAS_BUBBLE",
            "BOTTLE_TYPE",
            "ADDITIONAL_PUMPING",
            "FLUSH_AIRE",
            "PUMPING_WAIT",
            "BOTTLE_THICKNESS",
            "FLUSH_VOLUME",
            "FLUSH_MODE",//20

            "FlushOffsetHeight",
            "FlushMethod",
            "RePullCount",
            "SolventVolume",
            "FlushInSpeed",
            "FlushOutSpeed",
            "FlushOutAirSpeed",
            "FlushOutSlowSpeed",
            "AdditionalOutAirVolume",
            "FlushOutWait",//30

            "SecondFlushCount",
            "SecondFlushInVolume",
            "SecondAdditionalOutVolume",
            "EnableSecondOutVolume",
            "SecondOutVolume",
            "SecondSolventVolume",
            "FlushAdditionOutVolume",
            "SecondFlushMethod",
            "SecondRePullCount",
            "SecondRePullOutVolume",//40

            "OpenJawMode",
            "FlushInAirSpeed" ,
            "SecondFlushInSpeed" ,
            "SecondFlushOutSpeed" ,
            "FirstFlushInSpeed" ,
            "SecondPumpbackVolume",
            "FLUSH_COST2" ,
            "FLUSH_COST3" ,
            "FLUSH_COST4" ,
            "SolventPushBackSpeed",//50

            "FlushOutVolume",
            "Viscosity",
            "FirstFlushStartSpeed",
            "FirstFlushStartSolventVolume",//56
            "DropCrumb",
            "PunctureSlowSpeed",
            "LastBottleAdditionOutVolume",
            "InsolubleLoopCount",
            "PumpBackLoopCount",
            "PumpBackWait",//60

            "SecondAdditionalOutWait",//61
            "PumpBackInAire",
            "ApprovalNumber"
        };

                           
    }
}
